import { Component } from 'react'
import AxiosHttp from './utlis/http'

class App extends Component {
    render() {
        <div>
            <h1>请求拦截响应拦截</h1>
            <button onClick={() => {
                AxiosHttp("/api/front/cart/list?page=1&limit=20&isValid=false", "get").then((res) => {
                    console.log(res)
                })
            }}>获取首页列表</button>
        </div>
    }
}
export default App;